// SINSTALL.H
// Written by chensu


//-----------------------------------------------------------------------------
class CSInstallApp: public CWinApp
{
    public:
        virtual BOOL InitInstance();

	private:
		BOOL InstallIt() const;

		BOOL InstallFile(LPCTSTR lpszSavePath, LPCTSTR lpszRes) const;
		BOOL SelectAsDefault(LPCTSTR lpszScr) const;

		BOOL SaveResourceToFile(LPCTSTR lpszSavePath, LPCTSTR lpszRes) const;
		int GetFileVersionField(LPCTSTR lpszFilename,
								LPCTSTR lpszInfo,
								LPTSTR lpszRet, int nLen,
								LPDWORD lpdwVer) const;
};
//-----------------------------------------------------------------------------


// End of SINSTALL.H
